package com.bird.pro.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class WechatConfig {
	public static String appId;
	public static String appSecret;
	
	@Value("${wechat.appId}")
	public void setAppId(String appId) {
		WechatConfig.appId = appId;
	}
	@Value("${wechat.appSecret}")
	public void setAppSecret(String appSecret) {
		WechatConfig.appSecret = appSecret;
	}
}
